package com.ruoyi.common.core.domain.heytalk;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.ruoyi.common.constant.heytalk.CommonConstants;
import com.ruoyi.common.core.domain.heytalk.base.BaseDO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * 用户信息对象 im_user
 * 
 * @author zhusy
 * @since 2021-10-17
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder(toBuilder = true)
@EqualsAndHashCode(callSuper = true)
@TableName("im_user")
public class ImUser extends BaseDO
{
    private static final long serialVersionUID = 1L;

    /** 用户名称 */
    private String userName;

    /** 用户昵称 */
    private String nickName;

    /** 用户邮箱 */
    private String email;

    /** 手机号码 */
    private String phone;

    /**
     * 用户性别
     * {@link CommonConstants.UserSexEnum}
     */
    private Integer sex;

    /** 头像地址 */
    private String avatar;

    /** 密码 */
    @JsonIgnore
    private String password;

    /**
     * 账号状态
     * {@link CommonConstants.UserStatusEnum}
     */
    private Integer status;

    /** 地区 */
    private String area;

    /** 个性签名 */
    private String sign;

}
